import request from '@/utils/request'

// 发文规则配置列表
export function dispatchruleconfigurationLists(params?: Record<string, any>) {
    return request.get({ url: '/dispatchruleconfiguration/list', params })
}

// 发文规则配置详情
export function dispatchruleconfigurationDetail(params: Record<string, any>) {
    return request.get({ url: '/dispatchruleconfiguration/detail', params })
}

// 发文规则配置新增
export function dispatchruleconfigurationAdd(params: Record<string, any>) {
    return request.post({ url: '/dispatchruleconfiguration/add', params })
}

// 发文规则配置编辑
export function dispatchruleconfigurationEdit(params: Record<string, any>) {
    return request.post({ url: '/dispatchruleconfiguration/edit', params })
}

// 发文规则配置删除
export function dispatchruleconfigurationDelete(params: Record<string, any>) {
    return request.post({ url: '/dispatchruleconfiguration/del', params })
}
